home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1998 June / SGI IRIX 6.5 Applications 1998 June.iso / dist / arraysvcs.idb / usr / lib / array / arrayd.conf.template.z / arrayd.conf.template
Text File  |  1998-04-15  |  3KB  |  90 lines

  1. #
  2. # Sample array services daemon (arrayd) configuration file
  3. #
  4.  
  5. #
  6. # These are definitions of the array(s) accessible from this system. Each
  7. # array definition consists of an "array" statement which specifies the
  8. # name used to refer to the array as a whole, and one or more "machine"
  9. # statements, which specify the hostname of a single machine in that array.
  10. #
  11. array me            #-AC3-arrayconfig will delete this line
  12.     machine localhost    #-AC3-arrayconfig will delete this line
  13. #-AC1-arrayconfig adds a local array definition here
  14.  
  15.  
  16. #
  17. # These are commands that can be invoked on the local system by other
  18. # systems in the array. Each consists of a "command" statement that
  19. # specifies the name of the command, one or more "invoke" statements which
  20. # specify a single command to be executed by the local machine, and
  21. # possibly other modifier statements which are described in the man pages.
  22. #
  23. command kill        # Kill all processes with given ASH
  24.     invoke  /usr/lib/array/asig kill %PIDS(%1)
  25.     user    %USER
  26.     group   %GROUP
  27.  
  28. command suspend        # Stop all processes with given ASH
  29.     invoke  /usr/lib/array/asig suspend %PIDS(%1)
  30.     user    %USER
  31.     group    %GROUP
  32.  
  33. command resume        # Resume all processes with given ASH
  34.     invoke    /usr/lib/array/asig resume %PIDS(%1)
  35.     user    %USER
  36.     group    %GROUP
  37.  
  38. command who        # Display all users in array
  39.     invoke /usr/lib/array/awho local %LOCAL
  40.     merge  /usr/lib/array/awho merge %OUTFILES
  41.  
  42. command ps        # Display all processes in array
  43.     invoke /usr/lib/array/aps local %LOCAL %ALLARGS
  44.     merge  /usr/lib/array/aps merge %OUTFILES
  45.  
  46. command uptime        # Display uptime/load of all nodes in array
  47.     invoke /usr/lib/array/auptime %LOCAL
  48.  
  49. command top        # Display the top few users in the array
  50.     invoke /usr/lib/array/atopm local %LOCAL
  51.     merge  /usr/lib/array/atopm merge %OUTFILES
  52.  
  53. command signal        # Send arbitrary signal to all procs with given ASH
  54.     invoke    /usr/lib/array/asig %1 %PIDS(%2)
  55.     user    %USER
  56.     group    %GROUP
  57.  
  58. #
  59. # These are commands used by other standard applications that are
  60. # part of the Array software. These should not be changed if possible.
  61. # THESE COMMANDS ARE NOT INTENDED TO BE USED INTERACTIVELY.
  62. #
  63. command viewh                # Helper command for aview
  64.     invoke /usr/lib/array/aviewh %ALLARGS
  65.  
  66. command launch                # Helper command for aview
  67.     invoke /usr/lib/array/alaunch %ORIGIN %ALLARGS
  68.     user    %USER
  69.     group   %GROUP
  70.     project %PROJECT
  71.     options LOCAL NOWAIT
  72.  
  73. command array_cpr_helper        # Helper command for cpr
  74.     invoke /usr/lib/array/acpr %REALUSER %REALGROUP %ALLARGS
  75.     user    %USER
  76.     group    %GROUP
  77.     project %PROJECT
  78.  
  79.  
  80. #
  81. # These are settings that are local to this system, such as the default
  82. # target array.
  83. #
  84. local
  85.     user  guest
  86.     group guest
  87.     port  5434
  88.     options setmachid    # Tell kernel to generate global ASHs
  89.     destination array me    #-AC2-arrayconfig updates this
  90.